<%= form_for @feed.after_service,
     :url => update_after_serviced_order_url(@feed.after_service),
     :remote => true,
     :method => :post,
     :html => {
       :class => :edit_feed_form
     } do |f|
 %>
<h6><b>修改-售后服务</b></h6>
<%= f.hidden_field :order_item_id%>
<dl>
  <dt>
    安装工
  </dt>
  <dd>
    <%= f.text_field :installer_full_name %>
  </dd>
</dl>
<dl>
  <dt>
    派工日期
  </dt>
  <dd>
    <%= f.text_field :after_serviced_on, :class => :date %>
    <script>
      $('#after_service_after_serviced_on').datepicker({
        showButtonPanel: true
      });
    </script>
  </dd>
</dl>
<dl>
  <dt>
    责任方
  </dt>
  <dd>
    <%= f.select :liable_side, ['厂家','销售','安装']%>
  </dd>
</dl>
<dl>
  <dt>
    备注
  </dt>
  <dd>
    <%= f.text_area :remark, :rows => 5%>
  </dd>
</dl>
<dl>
  <dd class="form_tool">
    <%= f.submit '保存' %>
    <%= link_to '返回', show_feed_order_url(@feed),:remote => true, :method => :get, :id => "edit_after_serviced_btn#{@feed.id}", :class => 'button' %>
  </dd>
</dl>
<div class="clear"></div>
<%end%>
